import Vue from 'vue'
import Router from 'vue-router'
import Home from './pages/Home.vue'
import About from './views/stars/AdminStarsLayout.vue'
import Login from './pages/Login.vue'
import Pages from '@/views/pages.ts'

Vue.use(Router);

export default new Router({
    routes: [
        {
            path:'/',
            name:'home',
            component: Home,
            children: Pages,
        },
        {
            path: '/about',
            name: 'about',
            component: About
        },
        {
            path: "/login",
            name: "login",
            component: Login
        },
    ]
})
